﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GroupCheer.FBGraphAPI.API
{
    /*    
         "id": "100000919305825_171242009582428",
         "from": {
            "name": "Yan Lpy",
            "id": "100000919305825"
         },
         "message": "Omg!!!!!!!!!\n\u592a\u5938\u5f20\u4e86~",
         "picture": "http://photos-d.ak.fbcdn.net/hphotos-ak-ash2/hs132.ash2/39959_140668139297450_137017906329140_264129_7041771_s.jpg",
         "link": "http://www.facebook.com/photo.php?fbid=140668139297450&set=a.137061169658147.18035.137017906329140",
         "name": "watermelon = \u6211\u7684\u7f8e\u4eba\uff1f\uff01\u3000",
         "description": "\u8fd9\u662f\u7537\u4eba\u4eec\u7684\u6700\u7231\uff01\n\u5973\u4eba\u7fa1\u6155\u4e0d\u53ca\uff01\n\n\u4e00\u5b9a\u8ba9\u4f60\u5927\u9971\u773c\u798f\uff01",
         "properties": [
            {
               "name": "By",
               "text": "\u5f88\u641e\u7b11\u4e00\u4e0b",
               "href": "http://www.facebook.com/whatthefun818"
            }
         ],
         "icon": "http://b.static.ak.fbcdn.net/rsrc.php/zD/r/aS8ecmYRys0.gif",
         "type": "photo",
         "created_time": "2010-12-15T07:46:51+0000",
         "updated_time": "2010-12-15T07:46:51+0000",
         "likes": 3
     */

    public class WallPost
    {
        public string ID { get; private set; }
        public string PosterName { get; private set; }
        public string PosterID { get; private set; }
        public string Message { get; private set; }
        public string Picture { get; private set; }
        public string Link { get; private set; }
        public string Name { get; private set; }
        public string Description { get; private set; }
        public string CreateDate { get; private set; }
        public string UpdateDate { get; private set; }
        public string Type { get; private set; }
        public long Likes { get; private set; }
    }

    public class WallPostCollection : List<WallPost> { }

    public class Page
    {
        public string Name { get; set; }
        public string Category { get; set; }
        public string ID { get; set; }
    }

    public class PageCollection : List<Page> { }

    public class Event
    {
        public string Name { get; set; }
        public string Start_Date { get; set; }
        public string End_Date { get; set; }
        public string Location { get; set; }
        public string ID { get; set; }
    }

    public class EventCollection : List<Event> { }

    public class Group
    {
        public string Name { get; set; }
        public long Version { get; set; }
        public string ID { get; set; }
    }

    public class GroupCollection : List<Group> { }
}
